package com.github.easyms.common.entity.auth;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.github.easyms.common.base.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author Leo.Liao
 * 用户-用户组关联
 * @date 2020-04-09 14:48:43
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("es_auth_user_role")
public class UserRole extends BaseEntity {

    @TableId
    private String userRoleId;
    private String userId;
    private String roleId;

}
